﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace uam_fps_game.Views
{
    public class View
    {
        protected ContentManager mContent = null;
        protected ViewState mState = null;

        protected GraphicsDevice mDevice;

        public bool Loaded { get; protected set; } 

        public View()
        {
            Loaded = false;
        }

        public virtual void Load(GraphicsDevice device, IServiceProvider serviceProvider)
        {
            mDevice = device;
            mContent = new ContentManager(serviceProvider, "Content");
        }

        public virtual void Unload()
        {
        }

        public virtual void Update(float deltaTime)
        {
        }

        public virtual void Draw()
        {
        }

        public virtual ViewState GetState()
        {
            return mState;
        }
    }
}
